package css.sword.util;

import java.util.List;

public class Docrights {

    private List<DocrightsBean> docrights;

    public List<DocrightsBean> getDocrights() {
        return docrights;
    }

    public void setDocrights(List<DocrightsBean> docrights) {
        this.docrights = docrights;
    }

    public static class DocrightsBean {
        /**
         * principalid : 2
         * principaltype : 2
         * operationids : [2,3,4]
         */

        private String principalid;
        private int principaltype;
        private List<Integer> operationids;

        public String getPrincipalid() {
            return principalid;
        }

        public void setPrincipalid(String principalid) {
            this.principalid = principalid;
        }

        public int getPrincipaltype() {
            return principaltype;
        }

        public void setPrincipaltype(int principaltype) {
            this.principaltype = principaltype;
        }

        public List<Integer> getOperationids() {
            return operationids;
        }

        public void setOperationids(List<Integer> operationids) {
            this.operationids = operationids;
        }
    }
}